<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>발생조사/방제</title>
<link rel="stylesheet" type="text/css" href="/css/base.css"/>
<link rel="stylesheet" type="text/css" href="/css/layout.css"/>
<link rel="stylesheet" type="text/css" href="/css/form.css"/>
<link rel="stylesheet" type="text/css" href="/css/content.css"/>
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.css"/>
<link rel="stylesheet" type="text/css" href="/css/ui.jqgrid.css"/>

<script type="text/javascript" src="/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/js/jquery.jqGrid.min.js"></script>
<script type="text/javascript" src="/js/i18n/grid.locale-kr.js"></script>
</head>

<body>
<div style="">
          <table id="jsonmap"></table>
<div id="pjmap"></div>
</div>
<script type="text/javascript">

jQuery("#jsonmap").jqGrid({        
   	url:'/sample/data3.json',
	datatype: "json",
   	colNames: [
							  'ID'        
							,'관11리소'    
							,'시군'      
							,'동명읍'    
							,'리'        
							,'임반'      
							,'소반'      
							,'지목'      
							,'지번'      
							,'경영계획구'
							,'경영계획차기'
							,'경제림단지'
							,'법정제한림'
							,'주기능'    
							,'중첩기능'  
							,'세부기능구분'
							,'갱신대장번호'
							,'임종'      
							,'임상'      
							,'수종'      
							,'병해충명'  
							,'발생년도'  
							,'발생면적'  
							,'ha당본수'  
							,'ha당피해본수'
							,'피해도'    
							,'방제방법계획'
							,'조사년도'  
							,'조사착수월'
							,'조사착수일'
							,'조사완료월'
							,'조사완료일'
							,'소요일'    
							,'조사공무원'],
   	colModel:[
   		{name:'ID'           ,index:'ID' , sorttype:'int'                 	}
,{name:'관리소'       ,index:'관리소'              	}
,{name:'시군'         ,index:'시군'                	}
,{name:'동명읍'       ,index:'동명읍'              	}
,{name:'리'           ,index:'리'                  	}
,{name:'임반'         ,index:'임반'                	}
,{name:'소반'         ,index:'소반'                	}
,{name:'지목'         ,index:'지목'                	}
,{name:'지번'         ,index:'지번'                	}
,{name:'경영계획구'   ,index:'경영계획구'          	}
,{name:'경영계획차기' ,index:'경영계획차기'        	}
,{name:'경제림단지'   ,index:'경제림단지'          	}
,{name:'법정제한림'   ,index:'법정제한림'          	}
,{name:'주기능'       ,index:'주기능'              	}
,{name:'중첩기능'     ,index:'중첩기능'            	}
,{name:'세부기능구분' ,index:'세부기능구분'        	}
,{name:'갱신대장번호' ,index:'갱신대장번호'        	}
,{name:'임종'         ,index:'임종'                	}
,{name:'임상'         ,index:'임상'                	}
,{name:'수종'         ,index:'수종'                	}
,{name:'병해충명'     ,index:'병해충명'            	}
,{name:'발생년도'     ,index:'발생년도'            	}
,{name:'발생면적'     ,index:'발생면적'            	}
,{name:'ha당본수'     ,index:'ha당본수'            	}
,{name:'ha당피해본수' ,index:'ha당피해본수'        	}
,{name:'피해도'       ,index:'피해도'              	}
,{name:'방제방법계획' ,index:'방제방법계획'        	}
,{name:'조사년도'     ,index:'조사년도'            	}
,{name:'조사착수월'   ,index:'조사착수월'          	}
,{name:'조사착수일'   ,index:'조사착수일'          	}
,{name:'조사완료월'   ,index:'조사완료월'          	}
,{name:'조사완료일'   ,index:'조사완료일'          	}
,{name:'소요일'       ,index:'소요일'              	}
,{name:'조사공무원'   ,index:'조사공무원'          	}

	
   	]
   	, rowNum:20
   	, rowList:[10,20,30]
   	, pager: '#pjmap'
    , viewrecords: true
	, caption: "JSON Mapping"
	, height: '200'
	, autowidth : true
	, shrinkToFit : false
});
jQuery("#jsonmap").jqGrid('navGrid','#pjmap',{edit:false,add:false,del:false});
</script>

</body>
</html>
